﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Models
{
    /// <summary>
    /// 文件类
    /// </summary>
    public class FileData
    {
        /// <summary>
        /// 自增主键
        /// </summary>
        public string ID { get; set; }

        /// <summary>
        /// 关联id（外键）
        /// </summary>
        public decimal RelationId { get; set; }

        /// <summary>
        /// 文件名称
        /// </summary>
        public string FileName { get; set; }

        /// <summary>
        /// 文件类型
        /// </summary>
        public string FileType { get; set; }

        /// <summary>
        /// 存储路径
        /// </summary>
        public string FilePath { get; set; }

        /// <summary>
        /// 缩略图路径
        /// </summary>
        public string ThumbnailPath { get; set; }

        /// <summary>
        /// 删除文件路径
        /// </summary>
        public string DeletePath { get; set; }

        /// <summary>
        /// 删除文件方式
        /// </summary>
        public string DeleteType { get; set; }

        /// <summary>
        /// 文件状态
        /// </summary>
        public int FileStatus { get; set; }

        /// <summary>
        /// 文件大小
        /// </summary>
        public int FileSize { get; set; }

        /// <summary>
        /// 是否删除
        /// </summary>
        public int IsDelete { get; set; }

        /// <summary>
        /// 关联表名
        /// </summary>
        public string RelationTable { get; set; }

    }
}
